from object.spiders import BaiduSpider
from scrapy_plus.core.engine import Engine    # 导入引擎

if __name__ == '__main__':
    spider = BaiduSpider()
    engine = Engine(spider)    # 创建引擎对象
    engine.start()    # 启动引擎